From 1a46ed999be7bf6812ad261aa1b0dd84663aaa3d Mon Sep 17 00:00:00 2001 From: Steven Hand Date: Tue, 22 May 2007 15:32:50 +0100 Subject: [PATCH] This patch fixes the issue with waiting for devices to disconnect during the end stage of migration in Xend. The problem was cause by a deletion of the VM domain ID which is used by testDevicecompleComplete ->deviceIDs->backendRoot() to get the virtual backend device path. The virtual backend device path is used to check if a device still exists in xenstore. Signed-off-by: Yung Giang --- tools/python/xen/xend/XendDomainInfo.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index ede2f27c36..31ac1ecc3f 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -1684,7 +1684,6 @@ class XendDomainInfo: try: if self.domid is not None: xc.domain_destroy(self.domid) - self.domid = None for state in DOM_STATES_OLD: self.info[state] = 0 self._stateSet(DOM_STATE_HALTED) -- 2.30.2